package com.zmn.mcc.model.dto.pic;

/**
 * 描述： 图片上传返回对象（针对master模块进行返回）
 *
 * @author wangjie
 * @version v1.0
 * @since 2018/11/20 19:44
 */
public class ImageReslutDTO {

    private Integer code;

    private String msg;

    private Data data;

    public static class Data{
        private String src;

        public Data() {

        }

        public String getSrc() {
            return src;
        }

        public void setSrc(String src) {
            this.src = src;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "src='" + src + '\'' +
                    '}';
        }
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ImageReslutDTO{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    public ImageReslutDTO() {}

    public ImageReslutDTO(Integer code, String msg, Data data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
